package com.heima.wemedia.mapper;

import com.heima.model.wemedia.dtos.WmLoginDto;
import com.heima.model.wemedia.pojos.WmUser;
import org.apache.ibatis.annotations.Select;

public interface WmUserMapper {
    @Select("select * from wm_user where name = #{name}")
    WmUser findByDto(WmLoginDto dto);

}
